You are here: Trading System Programming > Reference > Classes > TimeSeries > TimeSeries Class

TimeSeries Class

The TimeSeries class represents in-memory OHLCV dataset accessible inside custom studies and trading systems. Typically an instance of the object is returned from a running instance of custom study or trading system. The object's data is constantly updated by ActiveTick, and the data snapshot is valid only for the duration of the callback function handler.

 

Syntax

TimeSeries

Members Table
close(index)

The close method returns a floating close price for a given index.

count()

The count method returns the number of data values inside TimeSeries object.

high(index)

The high method returns a floating high price for a given index.

low(index)

The low method returns a floating low price for a given index.

open(index)

The open method returns a floating open price for a given index.

time(index)

The time method returns a Date object for a given index.

volume(index)

The volume method returns a numeric volume for a given index.

 


Copyright © 2006-2009 ActiveTick LLC